﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BMS.DTO
{
    /// <summary>
    /// 部门表添加，修改的表单使用
    /// </summary>
    public class DepartmentFormDTO
    {
        /// <summary>
        /// ID
        /// </summary>
        public int? Id { get; set; } = 0;
        /// <summary>
        /// 部门名称
        /// </summary>
        public string? Name { get; set; }
        /// <summary>
        /// 父级ID
        /// </summary>
        public int Pid { get; set; }
        /// <summary>
        /// 部门描述
        /// </summary>
        public string Describe { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string Principal { get; set; }
        /// <summary>
        /// 与该项匹配的所有ID值，
        /// </summary>
        public string? LayerIds { get; set; }
    }
}
